import { defineNuxtPlugin } from '#app';
import { AppBar } from '~/components/AppBar';
import { Footer } from '~/components/Footer';
import { Head } from '~/components/Head';
import { MainLayout } from '~/components/MainLayout';
export default defineNuxtPlugin((nuxtApp) => {
  // 注册全局组件
  nuxtApp.vueApp.component('MainLayout', MainLayout);
  nuxtApp.vueApp.component('AppBar', AppBar);
  nuxtApp.vueApp.component('Footer', Footer);
  nuxtApp.vueApp.component('Head', Head);
});